package org.dromara.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.dromara.common.core.domain.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * gateway黑名单测试
 *
 * @author shuai.zhou
 * @date 2021-07-26
 */
@Slf4j
@RestController
@RequestMapping("")
public class TestBlackListUrlController {

    /**
     * /demo/black/** 黑名单测试
     */
    @GetMapping("/black/test")
    public R<Void> blackTest() {
        return R.ok();
    }

    /**
     * /demo/black11 黑名单测试
     */
    @GetMapping("/black11")
    public R<Void> black11() {
        return R.ok();
    }

    /**
     * /demo/black22 黑名单测试
     */
    @GetMapping("/black22")
    public R<Void> black22() {
        return R.ok();
    }

}
